package com.ccys.db.entity;

import com.ccys.db.rely.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
* Created by Mybatis Generator on 2023/12/29
*/
@Data//改之前的备注：印尼医生额外设置的地址信息，应该与病人的地址信息一致(医生端为delivery location)
@ApiModel("问诊病人所在地址信息")
@Table(name = "tbl_booking_patient_address")
@NoArgsConstructor
@AllArgsConstructor
public class TblBookingPatientAddress extends BaseEntity {
    @Column(name = "booking_id")
    private String bookingId;

    @Column(name = "postal_code")
    private String postalCode;

    private String address;

    @ApiModelProperty("城市名称")
    private String city;

    @Column(name = "patient_location_clinic_id")
    @ApiModelProperty("患者所在诊所id")
    private String patientLocationClinicId;

    @Column(name = "patient_location_clinic_address")
    @ApiModelProperty("患者所在诊所地址")
    private String patientLocationClinicAddress;

    @Column(name = "unit_number")
    @ApiModelProperty("单元号")
    private String unitNumber;


    private BigDecimal latitude;

    private BigDecimal longitude;

    private String country;

    private String state;

    @Column(name = "detail_address")
    private String detailAddress;

    @Column(name = "mem_delivery_address_id")
    private String memDeliveryAddressId;
}